package com.weixing.mall.provider.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.weixing.mall.base.constant.DatePattern;
import com.weixing.mall.base.enums.GenderEnum;
import com.weixing.mall.base.enums.IsEnableEnum;
import com.weixing.mall.provider.model.enums.MemberRankEnum;
import lombok.Data;

import java.util.Date;

/**
 * @ClassName MemberListVo
 * @Description TODO <br/>
 * @Author gjq
 * @Modified By:
 * @Date 2019/9/19
 * @Version 1.0
 **/
@Data
public class MemberListVo {

    private Long id;
    private String nickName;
    private String mobile;
    private String avator;
    private IsEnableEnum isEnable;
    private GenderEnum gender;
    private String birthDay;
    private String provinceCode;
    private String province;
    private String cityCode;
    private String city;
    private Long agentId;
    private String inviteCode;
    private MemberRankEnum memberRank;
    @JsonFormat(locale="zh", timezone="GMT+8", pattern= DatePattern.NORM_DATETIME_PATTERN)
    private Date registerTime;
    private Integer isAgent;
    /**
     * 积分数量
     */
    private Long accumPoint;
}
